package com.ossjk.qlh.equipment.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ossjk.core.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * Copyright  2022-01-11 QLH. Tech Ltd. All rights reserved.
 * 
 * @Package: com.ossjk.qlh.equipment.entity
 * @ClassName: Equipment
 * @Description: -实体类
 * @author: DengJing
 * @date:  2022-01-11 10:03:07 
 */
@ApiModel(value = "")
@Data
public class Equipment extends BaseEntity<Equipment> {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@ApiModelProperty(value = "id", required = true)
	@TableId("id")
	private String id;
	/**
	 * 供应商id
	 */
	@ApiModelProperty(value = "供应商id", required = true)
	@TableField("sup_id")
	private String supId;
	/**
	 * 设备名称
	 */
	@ApiModelProperty(value = "设备名称", required = true)
	@TableField("name")
	private String name;
	/**
	 * 设备类别
	 */
	@ApiModelProperty(value = "设备类别", required = true)
	@TableField("category")
	private Integer category;
	/**
	 * 设备品牌
	 */
	@ApiModelProperty(value = "设备品牌", required = true)
	@TableField("brand")
	private String brand;
	/**
	 * 设备规格/型号
	 */
	@ApiModelProperty(value = "设备规格/型号", required = true)
	@TableField("model")
	private String model;
	/**
	 * 参考数据
	 */
	@ApiModelProperty(value = "参考数据")
	@TableField("reference_data")
	private String referenceData;
	/**
	 * 生产厂家
	 */
	@ApiModelProperty(value = "生产厂家")
	@TableField("manufacturer")
	private String manufacturer;
	/**
	 * 租金
	 */
	@ApiModelProperty(value = "租金", required = true)
	@TableField("rent")
	private Float rent;
	/**
	 * 人工
	 */
	@ApiModelProperty(value = "人工", required = true)
	@TableField("labor_price")
	private Float laborPrice;
	/**
	 * 油费
	 */
	@ApiModelProperty(value = "油费", required = true)
	@TableField("oil_cost")
	private Float oilCost;
	/**
	 * 维修
	 */
	@ApiModelProperty(value = "维修", required = true)
	@TableField("repair")
	private Float repair;
	/**
	 * 价格
	 */
	@ApiModelProperty(value = "价格")
	@TableField("price")
	private Float price;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	@TableField("remarks")
	private String remarks;

	@Override
	protected Serializable pkVal() {
				return id;
	}

}
